package org.shiwen.week9.friday.q4;

public class Test {
    public static void main(String[] args) {
        Developer developer = new Developer();
        Vehicle vehicle[] = new Vehicle[3];

        vehicle[0] = new Bicycle("捷安特","红色");
        vehicle[1] = new Car("Benz","黑色","粤A12345");
        vehicle[2] = new ElectricVehicle("雅迪","白色");

        for(int i=0;i<vehicle.length;i++){
            developer.takingVehicle(vehicle[i]);
        }

    }
}
